package com.ewei.web.authority.vo;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(Include.NON_EMPTY)
public class UserVo {
	
	private Integer id;
	
	private String username;
	
	private String password;
	
	private List<RoleVo> list = new ArrayList<RoleVo>();
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public List<RoleVo> getList() {
		return list;
	}

	public void setList(List<RoleVo> list) {
		this.list = list;
	}
	
	
}
